import Doctor from "../views/doctor/doctor";
import DoctorList from "../views/doctor/list";
import DoctorDetail from "../views/doctor/detail";
const doctor = {
    path: "/doctorManage",
    component: Doctor,
    redirect: "/doctorManage/list",
    meta: {
        title: "医生信息管理",
        requireAuth: true
    },
    children: [
        {
            path: "list",
            component: DoctorList,
            meta: {
                title: "医生列表",
                requireAuth: true
            }
        },
        {
            path: "add",
            component: DoctorDetail,
            meta: {
                title: "添加医生",
                requireAuth: true
            }
        },
        {
            path: "update",
            component: DoctorDetail,
            meta: {
                title: "编辑医生",
                requireAuth: true
            }
        }
    ]
};

export default doctor;
